package com.ty.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import nonapi.io.github.classgraph.json.Id;

import java.io.Serializable;
import java.util.List;

/**
 * 产品表;
 *
 * @author : http://www.chiner.pro
 * @date : 2025-2-24
 */
@ApiModel(value = "产品表", description = "")
@Data
public class Products implements Serializable, Cloneable {
    /**
     * id
     */
    @ApiModelProperty(value = "id", notes = "")
    private Integer id;
    /**
     * 产品类型;1 反击破产品
     * 2 鄂破产品
     * 3 圆锥类产品
     */
    @ApiModelProperty(value = "产品类型", notes = "1 反击破产品 2 鄂破产品3 圆锥类产品")
    private byte producetype;
    /**
     * 产品单位
     */
    @ApiModelProperty(value = "产品单位", notes = "")
    private String productunit;
    /**
     * 产品编号
     */
    @ApiModelProperty(value = "产品编号", notes = "")
    private String productnumber;
    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称", notes = "")
    private String productname;
    /**
     * 封面图
     */
    @ApiModelProperty(value = "封面图", notes = "")
    private String coverimage;
    /**
     * 型号
     */
    @ApiModelProperty(value = "型号", notes = "")
    private String model;
    /**
     * 产品分类编码
     */
    @ApiModelProperty(value = "产品分类编码", notes = "")
    private char categorycode;
    /**
     * 产品分类名称
     */
    @ApiModelProperty(value = "产品分类名称", notes = "")
    private String categoryname;
    /**
     * 规格条码
     */
    @ApiModelProperty(value = "规格条码", notes = "")
    private String specificationbarcode;
    /**
     * 规格编码
     */
    @ApiModelProperty(value = "规格编码", notes = "")
    private String specificationcode;
    /**
     * 品牌
     */
    @ApiModelProperty(value = "品牌", notes = "")
    private String brand;
    /**
     * 材质
     */
    @ApiModelProperty(value = "材质", notes = "")
    private String material;
    /**
     * 单重
     */
    @ApiModelProperty(value = "单重", notes = "")
    private Double singleweight;
    /**
     * 外形尺寸
     */
    @ApiModelProperty(value = "外形尺寸", notes = "")
    private int outersize;
    /**
     * 产品图号
     */
    @ApiModelProperty(value = "产品图号", notes = "")
    private String productdrawingnumber;
    /**
     * 工厂图号
     */
    @ApiModelProperty(value = "工厂图号", notes = "")
    private String factorydrawingnumber;
    /**
     * 原装图号
     */
    @ApiModelProperty(value = "原装图号", notes = "")
    private String originaldrawingnumber;
    /**
     * 库存
     */
    @ApiModelProperty(value = "库存", notes = "")
    private Integer stock;
    /**
     * 价格
     */
    @ApiModelProperty(value = "价格", notes = "")
    private Double price;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", notes = "")
    private Integer sort;
    /**
     * 低库存预警值
     */
    @ApiModelProperty(value = "低库存预警值", notes = "")
    private Integer lowstockwarningvalue;
    /**
     * 高库存预警值
     */
    @ApiModelProperty(value = "高库存预警值", notes = "")
    private Integer highstockwarningvalue;
    /**
     * 品牌资料
     */
    @ApiModelProperty(value = "品牌资料", notes = "")
    private String brandinfo;
    /**
     * 产品详情
     */
    @ApiModelProperty(value = "产品详情", notes = "")
    private String productdetails;

    /**
     * 状态;1 启用
     * 2禁用
     */
    @ApiModelProperty(value = "状态", notes = "1 启用 2禁用")
    private byte status;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", notes = "")
    private Integer createby;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人", notes = "")
    private Integer updateby;

    @ApiModelProperty(value = "轮播图列表")
    private List<String> banners;


}